package com.musicmall.pojo;

import java.util.Date;

public class Favorite {
    private Integer id;

    private Integer userId;

    private Integer singlesId;

    private Integer artistId;

    private Integer albumId;

    private String singlesName;

    private String artistName;

    private String albumName;

    private Integer itemType;

    private Date createTime;

    private Date updateTime;

    public Favorite(Integer id, Integer userId, Integer singlesId, Integer artistId, Integer albumId, String singlesName, String artistName, String albumName, Integer itemType, Date createTime, Date updateTime) {
        this.id = id;
        this.userId = userId;
        this.singlesId = singlesId;
        this.artistId = artistId;
        this.albumId = albumId;
        this.singlesName = singlesName;
        this.artistName = artistName;
        this.albumName = albumName;
        this.itemType = itemType;
        this.createTime = createTime;
        this.updateTime = updateTime;
    }

    public Favorite() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getSinglesId() {
        return singlesId;
    }

    public void setSinglesId(Integer singlesId) {
        this.singlesId = singlesId;
    }

    public Integer getArtistId() {
        return artistId;
    }

    public void setArtistId(Integer artistId) {
        this.artistId = artistId;
    }

    public Integer getAlbumId() {
        return albumId;
    }

    public void setAlbumId(Integer albumId) {
        this.albumId = albumId;
    }

    public String getSinglesName() {
        return singlesName;
    }

    public void setSinglesName(String singlesName) {
        this.singlesName = singlesName == null ? null : singlesName.trim();
    }

    public String getArtistName() {
        return artistName;
    }

    public void setArtistName(String artistName) {
        this.artistName = artistName == null ? null : artistName.trim();
    }

    public String getAlbumName() {
        return albumName;
    }

    public void setAlbumName(String albumName) {
        this.albumName = albumName == null ? null : albumName.trim();
    }

    public Integer getItemType() {
        return itemType;
    }

    public void setItemType(Integer itemType) {
        this.itemType = itemType;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}